package shared.io.game;

import java.io.Serializable;
import java.util.List;

/**
 * Position of all players.
 */
public class GameState implements Serializable {

   private static final long serialVersionUID = -585345313368218446L;
   private List<Player> players;
   private int index;
   
   public GameState(List<Player> players, int index) {
      this.players = players;
      this.index = index;
   }

   public List<Player> getPlayers() {
      return players;
   }

   public int getIndex() {
      return index;
   }
   
}
